summaryrefslogtreecommitdiffstats
path: root/decode-qr-uri.py
diff options
context:
space:
mode:
authorJakob Hildebrand <jakob.hildebrand@gmail.com>2022-10-03 04:15:53 +0200
committerJakob Hildebrand <jakob.hildebrand@gmail.com>2022-10-03 04:15:53 +0200
commit75f24cfb2f5efd9754a781908826752742fe67d2 (patch)
treec565a9557b1a67d8b30b89f38bbed9cf75639bb7 /decode-qr-uri.py
parent[crack-otp] Set TOTP format length correctly (diff)
downloadentrust-identityguard-tools-75f24cfb2f5efd9754a781908826752742fe67d2.tar
entrust-identityguard-tools-75f24cfb2f5efd9754a781908826752742fe67d2.tar.gz
entrust-identityguard-tools-75f24cfb2f5efd9754a781908826752742fe67d2.tar.bz2
entrust-identityguard-tools-75f24cfb2f5efd9754a781908826752742fe67d2.tar.lz
entrust-identityguard-tools-75f24cfb2f5efd9754a781908826752742fe67d2.tar.xz
entrust-identityguard-tools-75f24cfb2f5efd9754a781908826752742fe67d2.tar.zst
entrust-identityguard-tools-75f24cfb2f5efd9754a781908826752742fe67d2.zip
Diffstat (limited to 'decode-qr-uri.py')
-rwxr-xr-xdecode-qr-uri.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/decode-qr-uri.py b/decode-qr-uri.py
index 1f0489d..553af57 100755
--- a/decode-qr-uri.py
+++ b/decode-qr-uri.py
@@ -40,6 +40,7 @@ except:
enc = False
try:
enc = query['enc'][0]
+ enc = enc.replace(" ","+")
except:
raise Exception('An "enc" parameter is a required part of the URI')